package com.ejiaoyi.api.dto.v1;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * getUserInfoByCert 方法 DTO
 *
 * @author unknownChivalrous
 * @since 2020/5/12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "getUserInfoByCert", description = "getUserInfoByCert")
public class GetUserInfoByCert extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty("usb_key_num")
    @JSONField(name = "usb_key_num")
    @ApiModelProperty(value = "CA唯一识别码", required = true, example = "c9c0dad42c055e6da89dd4b81e90f9ca")
    private String usbKeyNum;

    @JsonProperty("cert_type")
    @JSONField(name = "cert_type")
    @ApiModelProperty(value = "用户身份", required = true, example = "1")
    private String certType;


}
